package com.dtw.ditouwang.beans;

import java.util.List;

public class ProductDetailBean {

    /**
     * flag : Success
     * msg : 查询成功!
     * result : true
     * data : {"id":9,"commodity_name":"阿迪鞋子  黑色,黑色","gold_price":62,"price":154,"img":["/public/uploads/20190123/0d5dbe039212ceb4d7b84e908a8d883b.jpg"],"address":null,"type":"黑色,黑色"}
     */

    private String flag;
    private String msg;
    private boolean result;
    private DataBean data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 9
         * commodity_name : 阿迪鞋子  黑色,黑色
         * gold_price : 62
         * price : 154
         * img : ["/public/uploads/20190123/0d5dbe039212ceb4d7b84e908a8d883b.jpg"]
         * address : null
         * type : 黑色,黑色
         */

        private int id;
        private String commodity_name;
        private double gold_price;
        private double price;
        private String address;
        private String type;
        private List<String> img;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCommodity_name() {
            return commodity_name;
        }

        public void setCommodity_name(String commodity_name) {
            this.commodity_name = commodity_name;
        }

        public double getGold_price() {
            return gold_price;
        }

        public void setGold_price(double gold_price) {
            this.gold_price = gold_price;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public List<String> getImg() {
            return img;
        }

        public void setImg(List<String> img) {
            this.img = img;
        }
    }
}
